<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>资料上传</title>
		<link rel="stylesheet" type="text/css" href="/static/base/bundle.css" media="all" />
		<link rel="stylesheet" type="text/css" href="/static/plugin/build/css/ztree/metro/ztree.css" />
		<link rel="stylesheet" type="text/css" href="/static/css/styletree.css" />
	</head>

	<body>
		<div class="layui-fluid layui-tree-margin">
			<div class="layui-col-md6 depart-left-box" style="width: 37%;">
				<div class="layui-fluid">
					<!-- 组织机构树 -->
					<div class="layui-col-md12">
						<div class="layui-tree-contain">
							<div class="layui-form-item ztree-wrap">
								<ul id="ztree" class="ztree">
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="layui-col-md6 depart-right-box" style="width: 60%;">
				<div class="layui-fluid layui-form layui-form-pane">
					<!-- 表单 -->
					<div class="layui-col-md12">
						<div class="layui-form-item">
							<label class="layui-form-label"><span style="color:red;">*</span>资源类别</label>
							<div class="layui-input-block">
								<input id="name" class="layui-input" type="text" value="" readonly="readonly" />
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label"><span style="color:red;">*</span>上传文件</label>
							<div class="layui-input-block layui-file-over">
								<button id="fileBtn" class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe61f;</i></button>
								<button id="fileUploadBtn" style="display:none;"></button>
								<input id="filePath" type="hidden" value="" />
								<input id="newFilename" type="hidden" value="" />
								<input id="originalFilename" type="hidden" value="" />
							</div>
						</div>
						<div class="layui-form-item" style="margin-top:20px;">
							<span id="remindMessage" style="color:red;">请上传小于50MB的文件！</span>
						</div>
					</div>
				</div>
				<div class="layui-form-item depart-right-bottom">
					<div class="layui-inline">
						<button id="confirmBtn" class="layui-btn layui-btn-small layui-btn-normal"><i class="layui-icon">&#xe605;</i> 确定</button>
					</div>
				</div>
			</div>
		</div>
		<script type="text/javascript" src="/static/plugin/layui/layui.js"></script>
		<script src="/static/js/trainingUpload.js" type="text/javascript" charset="utf-8"></script>
	</body>

</html>